package com.woniu113.junk.site.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu113.junk.site.model.Notice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 蜡笔没了小新
 * @since 2024年10月16日
 */
@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {

    List<Notice> findAll(@Param("noticeTitle") String noticeTitle, @Param("noticeState") Integer noticeState, Page<Notice> page);
}
